home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- function initInGameMusic()
- {
- if(inGameFlag == false)
- {
- inGameFlag = true;
- inGameMod.start(0,9999);
- inGameMod.setVolume(0);
- this.onEnterFrame = function()
- {
- if(inGameMod.position == 0 or inGameMod.position == inGameMod.duration)
- {
- inGameMod.start(0,9999);
- }
- var _loc1_ = inGameMod.getVolume();
- if(_loc1_ < _parent.masterVolume)
- {
- _loc1_ += 2;
- inGameMod.setVolume(_loc1_);
- }
- else
- {
- inGameMod.setVolume(100);
- delete this.onEnterFrame;
- }
- };
- }
- }
- function killInGameMusic()
- {
- inGameMod.stop();
- inGameFlag = false;
- }
- var titleMod = new Sound(this);
- titleMod.attachSound("titleMod");
- var inGameMod = new Sound(this);
- inGameMod.attachSound("inGameMusic");
- var inGameFlag = false;
- charRollOver = function()
- {
- this.cursor._visible = true;
- this.cursor.gotoAndPlay(1);
- };
- charRollOut = function()
- {
- this.cursor._visible = false;
- this.cursor.gotoAndStop(1);
- };
- }
-